<table width="100%">
	<tr>
		<td width="15%"><?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/logo.png'); ?></td>
		<td width="85%">
		<h4><strong>PT. ANUGERAH BERSAMA BERKAH ABADI</strong></h4>
		<h4><strong>SOA Internal</strong></h4>
		</td>
	</tr>
</table>
<table border="1">
	<tr>
		<th>Policy No</th>
		<th>DN/CN. No</th>
		<th>Ins. Type</th>
		<th>Insured Name</th>
		<th>Inception Date</th>
		<th>Aging</th>
		<th>Curr.</th>
		<th>Gross Premium</th>
		<th>Discount</th>
		<th>Policy Cost</th>
		<th>Stamp Duty</th>
		<th>Admin Fee</th>
		<th>Adjusment</th>
		<th>Brokerage</th>
		<th>Net Premium</th>
		<th>Type</th>
	</tr>
	<?php foreach($datas as $data): ?>
	<tr>
		<td><?=$data['policy_no']?></td>
		<td><?=$data['nota_debet_no']?></td>
		<td><?=$data['type']?></td>
		<td><?=$data['name']?></td>
		<td><?="-"?></td>
		<td><?="-"?></td>
		<td><?="-"?></td>
		<td><?=$data['nominal']."<br/>".$data['jml_bayar']?></td>
		<td><?=$data['discount']?></td>
		<td><?=$data['policy_cost']?></td>
		<td><?=$data['stamp_duty']?></td>
		<td><?=$data['admin_broker']?></td>
		<td><?=$data['adjusment']?></td>
		<td><?=$data['brokerage']?></td>
		<td><?=$data['nett_to_insurance']."<br/>".$data['jml_bayar']?></td>
		<td><?="-"?></td>
		<td><?=$data['status']?></td>
	</tr>
	<?php endforeach; ?>
</table>